
from celery_tasks.yuntongxun.sms import CCP
from celery_tasks.main import celery_app


@celery_app.task(name='ccp_send_sms_code')
def ccp_send_sms_code(mobile, sms_code):
    """用于发送短信的函数"""
    result = CCP().send_template_sms(mobile, [sms_code, 5], 1)
    return result



